# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-pymdown-extensions
pkgver=8.2
pkgrel=1
pkgdesc="extension pack for Python Markdown"
url="https://github.com/facelessuser/pymdown-extensions"
arch="noarch"
license="MIT"
depends="python3 py3-markdown"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/pymdown-extensions/pymdown-extensions-$pkgver.tar.gz"
builddir="$srcdir/pymdown-extensions-$pkgver"
options="!check" # Some tests fail.

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
9a0ed59783fdd071017daaa4bbc29b4e71e7078c06948b841cd9986cdbe3dde9379aea5459cc5a860b476935936c53c273fd13a6fc99d3d5719cf633f642d69f  pymdown-extensions-8.2.tar.gz
"
